package com.yantong.pojo;

import java.io.Serializable;

/**
 * @author kanghaixin
 */
public class UserRole implements Serializable{
    private static final long serialVersionUID = 5455233813763886988L;
    /**
     * 用户和角色关联ID
     */
    private Long userRoleId;
    /**
     * userId
     */
    private Long userId;
    /**
     * 角色ID
     */
    private Long roleId;

    public Long getUserRoleId() {
        return userRoleId;
    }

    public void setUserRoleId(Long userRoleId) {
        this.userRoleId = userRoleId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return "UserRole{" +
                "userRoleId=" + userRoleId +
                ", userId=" + userId +
                ", roleId=" + roleId +
                '}';
    }
}
